﻿using System;

namespace Fuse8.DomainFramework.DataAccess
{
    /// <summary>
    /// 
    /// </summary>
    public interface IUnitOfWorkFactory
    {
        /// <summary>
        /// 
        /// </summary>        
        void Close();

        /// <summary>
        /// Gets current unit of work as non generic object
        /// </summary>
        /// <returns></returns>
        object GetSimple(bool withTransaction);
    }
}
